package com.zhima.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhima.enums.JudgeState;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author : 芝麻
 * @date : 2023-09-05 16:13
 **/
@Data
public class SimpleJudgeRecordVO {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long questionId;
    private String questionName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;
    private String userName;
    private String avatarUri;
    private Date submitTime;
    private Date judgeTime;
    private JudgeState judgeState;
    private String codeLanguageName;
    private Integer codeLanguageId;
    private Integer codeSize;
    private BigDecimal useTime;
    private BigDecimal useMemory;
    private Integer score;
}
